package com.management.po;

import java.sql.Timestamp;

/**
 * @author ls
 * @category 仓库记录类
 */
public class MaterialsRecord {
    /**
     * 记录编号
     */
    private int materialsRecordId;

    /**
     * 公司编号
     */
    private int companyId;
    /**
     * 记录时间
     */
    private Timestamp materialsRecordTime;
    /**
     * 仓库编号
     */
    private int warehouseId;
    /**
     * 物品编号
     */
    private int materialsId;
    /**
     * 数量
     */
    private int materialsRecordNumber;
    /**
     * 操作人
     */
    private String userId;


    @Override
    public String toString() {
        return "MaterialsRecord{" +
                "materialsRecordId=" + materialsRecordId +
                ", companyId=" + companyId +
                ", materialsRecordTime=" + materialsRecordTime +
                ", warehouseId=" + warehouseId +
                ", materialsId=" + materialsId +
                ", materialsRecordNumber=" + materialsRecordNumber +
                ", userId='" + userId + '\'' +
                '}';
    }

    public MaterialsRecord() {
    }

    public MaterialsRecord(int materialsRecordId, int companyId, Timestamp materialsRecordTime, int warehouseId, int materialsId, int materialsRecordNumber, String userId) {
        this.materialsRecordId = materialsRecordId;
        this.companyId = companyId;
        this.materialsRecordTime = materialsRecordTime;
        this.warehouseId = warehouseId;
        this.materialsId = materialsId;
        this.materialsRecordNumber = materialsRecordNumber;
        this.userId = userId;
    }

    public int getMaterialsRecordId() {
        return materialsRecordId;
    }

    public void setMaterialsRecordId(int materialsRecordId) {
        this.materialsRecordId = materialsRecordId;
    }

    public Timestamp getMaterialsRecordTime() {
        return materialsRecordTime;
    }

    public void setMaterialsRecordTime(Timestamp materialsRecordTime) {
        this.materialsRecordTime = materialsRecordTime;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public int getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(int warehouseId) {
        this.warehouseId = warehouseId;
    }

    public int getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(int materialsId) {
        this.materialsId = materialsId;
    }

    public int getMaterialsRecordNumber() {
        return materialsRecordNumber;
    }

    public void setMaterialsRecordNumber(int materialsRecordNumber) {
        this.materialsRecordNumber = materialsRecordNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
